package com.ruizhong.centercontroll.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_scheduled_task")
public class TScheduledTask {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer eventType;
    private Integer sonEventType;
    private String ipAddress;
    private String port;
    @TableField(exist = false)
    private Boolean needRepeat;
    private Integer needRepeatData;
    private String executeDate;
    @TableField(exist = false)
    private List<String> repeatGroup;
    private String repeatGroupData;
    private String executeTime;
    private String requestPath;
    private String instructionData;
    private String taskName;
    @TableField(exist = false)
    private Boolean hexadecimal;
    private Integer hexadecimalData;
    private Integer priority;
    private Integer delay;
    @TableField(exist = false)
    private List<TCommand> commandList;
}
